/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rw.magallanes.ide.main;

import com.rw.magallanes.core.Category;

/**
 *
 * @author Gonzalez
 */
public class MainSystem {

    private static MainSystem instance;
    private MainFrame mf;

    private MainSystem() {
    }

    public static MainSystem getInstance() {
        instance = instance == null ? new MainSystem() : instance;
        return instance;
    }

    void setMainFrame(MainFrame mf) {
        this.mf = mf;
    }

    public MainFrame getMainFrame() {
        return mf;
    }
}
